//
// Created by dg on 2024/1/2.
//

#include "BLTextureFrame.h"
#include "./Log.h"

#define LOG_TAG "BLTextureFrame"

BLTextureFrame::BLTextureFrame() {

}

BLTextureFrame::~BLTextureFrame() {

}

bool BLTextureFrame::checkGlError(const char *op) {
    GLint error;
    for (error = glGetError(); error; error = glGetError()) {
        LOGE("error::after %s() glError(0x%x)\n", op, error);
        return true;
    }
    return false;
}